package cn.iocoder.yudao.module.blog.controller.admin.ask.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 学员提问 Excel VO
 *
 * @author 曹建伟
 */
@Data
public class BlogAskExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty("作者编号")
    private Long memberId;

    @ExcelProperty("电话")
    private String mobile;

    @ExcelProperty("昵称")
    private String nickname;

    @ExcelProperty("头像")
    private String avatar;

    @ExcelProperty("标题")
    private String title;

    @ExcelProperty("提问内容")
    private String content;

    @ExcelProperty("图片")
    private String picUrl;

    @ExcelProperty("标签")
    private String classity;

    @ExcelProperty("认同数量")
    private Integer likeNum;

    @ExcelProperty("阅读数量")
    private Integer readNum;

    @ExcelProperty(value = "是否置顶", converter = DictConvert.class)
    @DictFormat("infra_boolean_string") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Boolean isTop;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
